<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content=
    "application/xhtml+xml; charset=iso-8859-1" />
    <title>
      ibus-1.5.22
    </title>
    <link rel="stylesheet" type="text/css" href="../stylesheets/lfs.css" />
    <meta name="generator" content="DocBook XSL Stylesheets V1.78.1" />
    <link rel="stylesheet" href="../stylesheets/lfs-print.css" type=
    "text/css" media="print" />
  </head>
  <body class="blfs" id="blfs-2020-04-02">
    <div class="navheader">
      <h4>
        Beyond Linux<sup>�</sup> From Scratch <span class="phrase">(System
        V</span> Edition) - Version 2020-04-02
      </h4>
      <h3>
        Chapter&nbsp;11.&nbsp;General Utilities
      </h3>
      <ul>
        <li class="prev">
          <a accesskey="p" href="highlight.html" title=
          "Highlight-3.55">Prev</a>
          <p>
            Highlight-3.55
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="imagemagick6.html" title=
          "ImageMagick-6.9.10-93">Next</a>
          <p>
            ImageMagick-6.9.10-93
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="genutils.html" title=
          "Chapter&nbsp;11.&nbsp;General Utilities">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 2020-04-02">
          Home</a>
        </li>
      </ul>
    </div>
    <div class="sect1" lang="en" xml:lang="en">
      <h1 class="sect1">
        <a id="ibus" name="ibus"></a>ibus-1.5.22
      </h1>
      <div class="package" lang="en" xml:lang="en">
        <h2 class="sect2">
          Introduction to ibus
        </h2>
        <p>
          <span class="application">ibus</span> is an Intelligent Input Bus.
          It is a new input framework for the Linux OS. It provides a fully
          featured and user friendly input method user interface.
        </p>
        <p>
          This package is known to build and work properly using an LFS-9.1
          platform.
        </p>
        <h3>
          Package Information
        </h3>
        <div class="itemizedlist">
          <ul class="compact">
            <li class="listitem">
              <p>
                Download (HTTP): <a class="ulink" href=
                "https://github.com/ibus/ibus/releases/download/1.5.22/ibus-1.5.22.tar.gz">
                https://github.com/ibus/ibus/releases/download/1.5.22/ibus-1.5.22.tar.gz</a>
              </p>
            </li>
            <li class="listitem">
              <p>
                Download MD5 sum: 717975f7de5b7a6eb89a5966db3e6c2e
              </p>
            </li>
            <li class="listitem">
              <p>
                Download size: 3.4 MB
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated disk space required: 77 MB (with tests)
              </p>
            </li>
            <li class="listitem">
              <p>
                Estimated build time: 0.5 SBU (Using parallelism=4; with
                tests)
              </p>
            </li>
          </ul>
        </div>
        <h3>
          Additional Downloads
        </h3>
        <div class="itemizedlist">
          <ul class="compact">
            <li class="listitem">
              <p>
                Required patch: <a class="ulink" href=
                "http://www.linuxfromscratch.org/patches/blfs/svn/ibus-1.5.22-wayland_display-1.patch">
                http://www.linuxfromscratch.org/patches/blfs/svn/ibus-1.5.22-wayland_display-1.patch</a>
              </p>
            </li>
          </ul>
        </div>
        <h3>
          Optional Download
        </h3>
        <h4>
          Unicode Character Database
        </h4>
        <div class="itemizedlist">
          <ul class="compact">
            <li class="listitem">
              <p>
                Download: <a class="ulink" href=
                "https://www.unicode.org/Public/zipped/10.0.0/UCD.zip">https://www.unicode.org/Public/zipped/10.0.0/UCD.zip</a>
                (Unicode Character Database)
              </p>
            </li>
          </ul>
        </div>
        <h3>
          ibus Dependencies
        </h3>
        <h4>
          Required
        </h4>
        <p class="required">
          <a class="xref" href="../gnome/dconf.html" title=
          "DConf-0.36.0 / DConf-Editor-3.36.0">DConf-0.36.0</a>, <a class=
          "xref" href="iso-codes.html" title="ISO Codes-4.4">ISO
          Codes-4.4</a>, and <a class="xref" href="vala.html" title=
          "Vala-0.48.2">Vala-0.48.2</a>
        </p>
        <h4>
          Recommended
        </h4>
        <p class="recommended">
          <a class="xref" href="gobject-introspection.html" title=
          "gobject-introspection-1.64.0">gobject-introspection-1.64.0</a>,
          <a class="xref" href="../x/gtk2.html" title=
          "GTK+-2.24.32">GTK+-2.24.32</a>, and <a class="xref" href=
          "../x/libnotify.html" title="libnotify-0.7.9">libnotify-0.7.9</a>
        </p>
        <h4>
          Optional
        </h4>
        <p class="optional">
          <a class="xref" href="python-modules.html#dbus-python" title=
          "D-Bus Python-1.2.16">D-Bus Python-1.2.16</a> and <a class="xref"
          href="python-modules.html#pygobject3" title=
          "PyGObject-3.36.0">PyGObject-3.36.0</a> (both to build the Python
          support library), <a class="xref" href="gtk-doc.html" title=
          "GTK-Doc-1.32">GTK-Doc-1.32</a>, <a class="xref" href=
          "python-modules.html#pyxdg" title="PyXDG-0.25">PyXDG-0.25</a> (for
          the <span class="command"><strong>ibus-setup</strong></span>), and
          <a class="xref" href="libxkbcommon.html" title=
          "libxkbcommon-0.10.0">libxkbcommon-0.10.0</a>, <a class="xref"
          href="wayland.html" title="Wayland-1.18.0">Wayland-1.18.0</a> (both
          to build the Wayland support programs), and <a class="ulink" href=
          "https://www.joypixels.com/">EmojiOne</a>
        </p>
        <p class="usernotes">
          User Notes: <a class="ulink" href=
          "http://wiki.linuxfromscratch.org/blfs/wiki/ibus">http://wiki.linuxfromscratch.org/blfs/wiki/ibus</a>
        </p>
      </div>
      <div class="installation" lang="en" xml:lang="en">
        <h2 class="sect2">
          Installation of ibus
        </h2>
        <p>
          Fix an issue with ibus identifying itself in Wayland sessions:
        </p>
        <pre class="userinput">
<kbd class=
"command">patch -Np1 -i ../ibus-1.5.22-wayland_display-1.patch</kbd>
</pre>
        <p>
          If the optional Unicode Character Database was downloaded, install
          it now as the <code class="systemitem">root</code> user:
        </p>
        <pre class="root">
<kbd class="command">mkdir -p               /usr/share/unicode/ucd &amp;&amp;
unzip -u ../UCD.zip -d /usr/share/unicode/ucd</kbd>
</pre>
        <div class="admon note">
          <img alt="[Note]" src="../images/note.png" />
          <h3>
            Note
          </h3>
          <p>
            Be sure to also remove the --disable-unicode-dict in the
            configure step below.
          </p>
        </div>
        <p>
          Fix an issue with deprecated schema entries:
        </p>
        <pre class="userinput">
<kbd class="command">sed -i 's@/desktop/ibus@/org/freedesktop/ibus@g' \
    data/dconf/org.freedesktop.ibus.gschema.xml</kbd>
</pre>
        <p>
          Install <span class="application">ibus</span> by running the
          following commands:
        </p>
        <pre class="userinput">
<kbd class="command">./configure --prefix=/usr             \
            --sysconfdir=/etc         \
            --disable-unicode-dict    \
            --disable-emoji-dict      &amp;&amp;
rm -f tools/main.c                    &amp;&amp;
make</kbd>
</pre>
        <p>
          To test the results, issue: <span class="command"><strong>make -k
          check</strong></span>. One test may fail for unknown reasons.
        </p>
        <p>
          Now, as the <code class="systemitem">root</code> user:
        </p>
        <pre class="root">
<kbd class="command">make install &amp;&amp;
gzip -dfv /usr/share/man/man{{1,5}/ibus*.gz,5/00-upstream-settings.5.gz}</kbd>
</pre>
      </div>
      <div class="commands" lang="en" xml:lang="en">
        <h2 class="sect2">
          Command Explanations
        </h2>
        <p>
          <em class="parameter"><code>--disable-emoji-dict</code></em>: This
          switch disables the use of emoticon dictionaries. Omit if you
          installed the optional package.
        </p>
        <p>
          <em class="parameter"><code>--disable-unicode-dict</code></em>:
          This switch disables the use of unicode dictionaries. Omit if you
          installed the optional Unicode Character Database.
        </p>
        <p>
          <span class="command"><strong>rm -f tools/main.c</strong></span>:
          This command removes a generated file that was not removed when
          packaging.
        </p>
        <p>
          <code class="option">--disable-gtk2</code>: This switch disables
          building the <span class="application">GTK+ 2</span> immodule. Use
          it if you have not installed <span class="application">GTK+
          2</span>.
        </p>
        <p>
          <code class="option">--enable-python-library</code>: This switch
          enables building the <span class="application">Python</span>
          support library. Use it if you have installed the optional
          dependencies.
        </p>
        <p>
          <code class="option">--enable-wayland</code>: This switch enables
          building the <span class="application">Wayland</span> support
          programs. Use it if you have installed the optional dependencies.
        </p>
        <p>
          <code class="option">--with-python=python3</code>: This switch
          makes the <span class="command"><strong>configure</strong></span>
          script look for <span class="application">Python 3</span>. Use it
          if you want to build the <span class="application">Python 3</span>
          support library alongside the <span class="application">Python
          2</span> one.
        </p>
        <p>
          <code class="option">--enable-gtk-doc</code>: Use this parameter if
          <span class="application">GTK-Doc</span> is installed and you wish
          to rebuild and install the API documentation.
        </p>
        <p>
          <span class="command"><strong>gzip -dfv ...</strong></span>:
          Decompress installed man pages in accordance with other man pages.
        </p>
      </div>
      <div class="content" lang="en" xml:lang="en">
        <h2 class="sect2">
          Contents
        </h2>
        <div class="segmentedlist">
          <div class="seglistitem">
            <div class="seg">
              <strong class="segtitle">Installed Programs:</strong>
              <span class="segbody">ibus, ibus-daemon, and ibus-setup</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Library:</strong>
              <span class="segbody">libibus-1.0.so and im-ibus.so
              (<span class="application">GTK+ Immodule</span>)</span>
            </div>
            <div class="seg">
              <strong class="segtitle">Installed Directories:</strong>
              <span class="segbody">/etc/dconf/db/ibus.d,
              /usr/include/ibus-1.0, /usr/share/gtk-doc/html/ibus, and
              /usr/share/ibus</span>
            </div>
          </div>
        </div>
        <div class="variablelist">
          <h3>
            Short Descriptions
          </h3>
          <table border="0" class="variablelist">
            <colgroup>
              <col align="left" valign="top" />
              <col />
            </colgroup>
            <tbody>
              <tr>
                <td>
                  <p>
                    <a id="ibus-daemon" name="ibus-daemon"></a><span class=
                    "term"><span class=
                    "command"><strong>ibus-daemon</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is the Intelligent Input Bus Daemon.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="ibus-setup" name="ibus-setup"></a><span class=
                    "term"><span class=
                    "command"><strong>ibus-setup</strong></span></span>
                  </p>
                </td>
                <td>
                  <p>
                    is the <span class="application">GTK+</span> program used
                    to configure the <span class=
                    "command"><strong>ibus-daemon</strong></span>.
                  </p>
                </td>
              </tr>
              <tr>
                <td>
                  <p>
                    <a id="libibus-1.0" name="libibus-1.0"></a><span class=
                    "term"><code class=
                    "filename">libibus-1.0.so</code></span>
                  </p>
                </td>
                <td>
                  <p>
                    contains the <span class="application">ibus</span> API
                    functions.
                  </p>
                </td>
              </tr>
            </tbody>
          </table>
        </div>
      </div>
      <p class="updated">
        Last updated on 2020-04-01 19:06:56 -0500
      </p>
    </div>
    <div class="navfooter">
      <ul>
        <li class="prev">
          <a accesskey="p" href="highlight.html" title=
          "Highlight-3.55">Prev</a>
          <p>
            Highlight-3.55
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="imagemagick6.html" title=
          "ImageMagick-6.9.10-93">Next</a>
          <p>
            ImageMagick-6.9.10-93
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="genutils.html" title=
          "Chapter&nbsp;11.&nbsp;General Utilities">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Beyond Linux� From Scratch     (System V Edition) - Version 2020-04-02">
          Home</a>
        </li>
      </ul>
    </div>
  </body>
</html>
